package com.wj.algorithm.chainedlist;

public class ChainNode {

    private Object value;
    
    private ChainNode next;
    
    public ChainNode(Object value) {
        super();
        this.value = value;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public ChainNode getNext() {
        return next;
    }

    public void setNext(ChainNode next) {
        this.next = next;
    }
    
}
